package com.bluemedia.bookproject.pages;

import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;
import org.vaadin.appfoundation.authorization.Resource;
import org.vaadin.navigator7.Page;

/**
 * Created by IntelliJ IDEA.
 * User: Marek Rucki
 * Date: 12.04.11
 * Time: 11:33
 */
@Page(uriName = "nastepna")
public class SimpleNextPage extends VerticalLayout implements Resource {

    public SimpleNextPage() {
        System.out.println("k SimpleNextPage");

        addComponent( new Label("dziala") );
        addComponent( new Label("I'm on a page too...") );
        addComponent( new Label("There is no much content here") );
    }

    @Override
    public String getIdentifier() {
        return "nast";
    }
}